package com.luoye.lj.platform.model.domain;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 15-11-3
 * Time: 上午12:41
 * To change this template use File | Settings | File Templates.
 */
public class AuthInfo {
    private long id=-1;
    private String authname;
    private String description;
    private String patterns;

    public AuthInfo(long id, String authname, String description) {
        this.id = id;
        this.authname = authname;
        this.description = description;
    }

    public AuthInfo(long id, String authname, String description, String patterns) {
        this.id = id;
        this.authname = authname;
        this.description = description;
        this.patterns = patterns;
    }

    public AuthInfo(){}
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getAuthname() {
        return authname;
    }

    public void setAuthname(String authname) {
        this.authname = authname;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPatterns() {
        return patterns;
    }

    public void setPatterns(String patterns) {
        this.patterns = patterns;
    }

    @Override
    public String toString() {
        return "AuthInfo{" +
                "id=" + id +
                ", authname='" + authname + '\'' +
                ", description='" + description + '\'' +
                ", patterns='" + patterns + '\'' +
                '}';
    }

}
